<!DOCTYPE html>
<html lang="zh"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>客户池详情</title>
    <link rel="icon" href="favicon.ico" type="images/ico" />
    <meta name="author" content="dc" />
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css" />
    <!--标签插件-->
    <link rel="stylesheet" href="/js/jquery-tags-input/jquery.tagsinput.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css" />
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <!--<link rel="stylesheet" href="/css/zTreeStyle.css" type="text/css">-->
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-multiselect.css" type="text/css"/>
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/customerManager/customerPoolDetail.css"/>
</head>
<body>
<div>
    <div class="container-fluid p-t-15">
        <!--客户池主键-->
        <input type="hidden" id="customerPoolId" name="customerPoolId" th:value="${customerPoolId}"/>
        <!--客户池停用/启用状态(1:开启;2:停用)-->
        <input type="hidden" id="poolState" name="poolState" th:value="${poolState}"/>
        <!--性质：1-全国公有池；2-分公司公有池；-->
        <input type="hidden" id="nature" name="nature" th:value="${nature}"/>
        <!--全国公有池关联公司id-->
        <input type="hidden" id="affiliatedCompanyId" name="affiliatedCompanyId" th:value="${affiliatedCompanyId}"/>
        <div class="row">
            <div class="col-sm-12">
                <div class="card">
                    <div class="card-header">
                        <h1>客户清单</h1>
                    </div>
                    <div class="tab-content">
                        <div class="tab-pane fade active in" id="home-basic">
                            <div class="row content-action">
                                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                    <div class="pull-right">
                                        <button class="btn btn-default btn-senior" data-toggle="collapse" data-target="#filterContent" aria-expanded="false" aria-controls="filterContent" style="margin-right: 20px"><i class="mdi mdi-sort-variant"></i>高级筛选</button>
                                        <div class="min-search pull-left">
                                            <input class="form-control" id="customerName" name="customerName" type="text" placeholder="请输入客户名称">
                                            <button class="btn btn-primary" type="button" onclick="searchCustomerTableList(1)"><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                                        </div>

                                    </div>
                                </div>
                            </div>
                            <div class="collapse filter-content" id="filterContent">
                                <!--(客户清单)高级搜索-->
                                <div class="row">
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="industrySelect">行业</label>
                                        <div>
                                            <select name="industrySelect" id="industrySelect" class="form-control">
                                                <option value="">请选择行业</option>
                                                <option value="农、林、牧、渔业">农、林、牧、渔业</option>
                                                <option value="采矿业">采矿业</option>
                                                <option value="制造业">制造业</option>
                                                <option value="电力、热力、燃气及水生产和供应业">电力、热力、燃气及水生产和供应业</option>
                                                <option value="建筑业">建筑业</option>
                                                <option value="有色金属冶炼和压延加工业">有色金属冶炼和压延加工业</option>
                                                <option value="批发和零售业">批发和零售业</option>
                                                <option value="交通运输、仓储和邮政业">交通运输、仓储和邮政业</option>
                                                <option value="住宿和餐饮业">住宿和餐饮业</option>
                                                <option value="信息传输、软件和信息技术服务业">信息传输、软件和信息技术服务业</option>
                                                <option value="金融业">金融业</option>
                                                <option value="房地产业">房地产业</option>
                                                <option value="租赁和商务服务业">租赁和商务服务业</option>
                                                <option value="科学研究和技术服务业">科学研究和技术服务业</option>
                                                <option value="水利、环境和公共设施管理业">水利、环境和公共设施管理业</option>
                                                <option value="居民服务、修理和其他服务业">居民服务、修理和其他服务业</option>
                                                <option value="教育">教育</option>
                                                <option value="卫生和社会工作">卫生和社会工作</option>
                                                <option value="文化、体育和娱乐业">文化、体育和娱乐业</option>
                                                <option value="公共管理、社会保障和社会组织">公共管理、社会保障和社会组织</option>
                                                <option value="国际组织">国际组织</option>
                                                <option value="个人客户">个人客户</option>
                                                <option value="其他">其他</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="companyTypeSelect">公司类型</label>
                                        <div>
                                            <select name="companyTypeSelect" id="companyTypeSelect" class="form-control">
                                                <option value="">请选择公司类型</option>
                                                <option value="1">有限责任公司</option>
                                                <option value="2">股份有限公司</option>
                                                <option value="3">集体所有制</option>
                                                <option value="4">国有企业</option>
                                                <option value="5">个体工商户</option>
                                                <option value="6">个人独资企业</option>
                                                <option value="7">有限合伙</option>
                                                <option value="8">普通合伙</option>
                                                <option value="9">外商独资企业</option>
                                                <option value="10">港澳台</option>
                                                <option value="11">联营企业</option>
                                                <option value="12">私营企业</option>
                                                <option value="13">企业</option>
                                                <option value="14">事业单位</option>
                                                <option value="15">基金会</option>
                                                <option value="16">社会组织</option>
                                                <option value="17">律所</option>
                                                <option value="18">香港特别行政区企业</option>
                                                <option value="19">台湾省企业</option>
                                                <option value="20">独资企业</option>
                                                <option value="21">国企</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="yearsEstablishmentSelect">成立年限</label>
                                        <div class="clearfix custom-group">
                                            <select name="yearsEstablishmentSelect" id="yearsEstablishmentSelect" class="form-control">
                                                <option value="">请选择</option>
                                                <option value="1">1年内</option>
                                                <option value="2">1-3年</option>
                                                <option value="3">3-5年</option>
                                                <option value="4">5-10年</option>
                                                <option value="5">10年以上</option>
                                            </select>
                                            <div class="custom-box">
                                                <label class="lyear-checkbox"><input type="checkbox"><span>自定义</span></label>
                                                <span class="unit">年</span>
                                                <div class="box">
                                                    <input type="text" id="beginYearsEstablishment" name="beginYearsEstablishment" class="form-control">
                                                    <input type="text" id="endYearsEstablishment" name="endYearsEstablishment" class="form-control">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="registeredCapitalSelect">注册资本</label>
                                        <div class="clearfix custom-group">
                                            <select name="registeredCapitalSelect" id="registeredCapitalSelect" class="form-control">
                                                <option value="">请选择</option>
                                                <option value="1">100万以内</option>
                                                <option value="2">100-500万</option>
                                                <option value="3">500-1000万</option>
                                                <option value="4">1000-3000万</option>
                                                <option value="5">3000-5000万</option>
                                                <option value="6">5000万以上</option>
                                            </select>
                                            <div class="custom-box">
                                                <label class="lyear-checkbox"><input type="checkbox"><span>自定义</span></label>
                                                <span class="unit">万</span>
                                                <div class="box">
                                                    <input type="text" id="beginRegisteredCapital" name="beginRegisteredCapital" class="form-control">
                                                    <input type="text"id="endRegisteredCapital" name="endRegisteredCapital" class="form-control">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="insuredNumbersSelect">参保人数</label>
                                        <div class="clearfix custom-group">
                                            <select name="insuredNumbersSelect" id="insuredNumbersSelect" class="form-control">
                                                <option value="">请选择</option>
                                                <option value="1">5人以下</option>
                                                <option value="2">5-10人</option>
                                                <option value="3">10-20人</option>
                                                <option value="4">20-100人</option>
                                                <option value="5">100-500人</option>
                                                <option value="6">500-1000人</option>
                                                <option value="7">1000人以上</option>
                                            </select>
                                            <div class="custom-box">
                                                <label class="lyear-checkbox"><input type="checkbox"><span>自定义</span></label>
                                                <span class="unit">人</span>
                                                <div class="box">
                                                    <input type="text" id="beginInsuredNumbers" name="beginInsuredNumbers" class="form-control">
                                                    <input type="text" id="endInsuredNumbers" name="endInsuredNumbers" class="form-control">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="isExistContactPersonPhone">是否有联系电话</label>
                                        <div>
                                            <select name="isExistContactPersonPhone" id="isExistContactPersonPhone" class="form-control">
                                                <option value="">请选择</option>
                                                <option value="1">有</option>
                                                <option value="0">无</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="isExistContactPerson">是否有联系人</label>
                                        <div>
                                            <select name="isExistContactPerson" id="isExistContactPerson" class="form-control">
                                                <option value="">请选择</option>
                                                <option value="1">有</option>
                                                <option value="0">无</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="isExistCompanyEmail">是否有联系邮箱</label>
                                        <div>
                                            <select name="isExistCompanyEmail" id="isExistCompanyEmail" class="form-control">
                                                <option value="">请选择</option>
                                                <option value="1">有</option>
                                                <option value="0">无</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="tag">标签</label>
                                        <div>
                                            <input class="form-control" type="text" placeholder="请输入标签" id="tag" name="tag">
                                        </div>
                                    </div>
                                    <!--<div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="currentStatusSelect">目前状态</label>
                                        <div>
                                            <select id="currentStatusSelect" class="form-control" type="text" data-live-search="true">
                                                <option selected value="">全部</option>
                                                <option value="0">未领取</option>
                                                <option value="1">已领取</option>
                                                <option value="2">已分配</option>
                                                <option value="3">自建客户</option>
                                            </select>
                                        </div>
                                    </div>-->
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="tag">省份</label>
                                        <div>
                                            <input class="form-control" type="text" placeholder="请输入省份" id="provinceName" name="provinceName">
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="tag">城市</label>
                                        <div>
                                            <input class="form-control" type="text" placeholder="请输入城市" id="cityName" name="cityName">
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                        <label for="tag">区/县</label>
                                        <div>
                                            <input class="form-control" type="text" placeholder="请输入区/县" id="countyName" name="countyName">
                                        </div>
                                    </div>
                                    <div class="form-group col-lg-12 col-md-4 col-sm-12 col-xs-12 btn-box">
                                        <label>&nbsp;</label>
                                        <div class="text-right">
                                            <button class="btn btn-primary" type="button" onclick="searchCustomerTableList()"><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                                            <button class="btn btn-default" onclick="resetData(this);">重置</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <table id="customerTableList"></table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<!--标签插件-->
<script src="/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 图表 -->
<script type="text/javascript" src="/js/echarts.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<script src="/js/crm/customerManager/user/userCustomerPoolDetail.js"></script>
</html>